<?php
/**
 * Created by PhpStorm.
 * User: 69548
 * Date: 2018/8/17
 * Time: 17:26
 */

namespace app\wap\controller;

use  app\wap\model\Classify as M;
use think\Controller;


class Classify extends Controller
{
    public function index(){
        header('Access-Control-Allow-Origin:*');
        $m= new  M();
        $data=$m->index();

        return json_encode($data);
    }


}